package com.jianyushe.gof23.learncode.creationalpattern.factory.abstractfactory;

/**
 * @author Create by Alvin
 * @Description TODO
 * @date 2021-10-11 16:07
 */
public class LuxuryFactory implements CarFactory{
    @Override
    public Engine createEngine() {
        return new LuxuryEngine();
    }

    @Override
    public Tyre createTyre() {
        return new LuxuryTyre();
    }

    @Override
    public Seat createSeat() {
        return new LuxurySeat();
    }
}
